projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fe8be
)
Build fix for Cmake/CLion on Mac. Correct handling of frameworks. They're like
author
Robert Lipe
<robertlipe@gpsbabel.org>
Wed, 19 Dec 2018 03:52:14 +0000
(21:52 -0600)
committer
Robert Lipe
<robertlipe@gpsbabel.org>
Wed, 19 Dec 2018 03:52:14 +0000
(21:52 -0600)
libs, but not...
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index cd824e6a5662063528ed40f971a05263c8389ce6..c1b38655da14c396bee1a2c910ca622699018d8d 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-217,7
+217,7
@@
if (UNIX AND NOT APPLE)
endif()
if (APPLE)
- set(
LIBS ${LIBS} -framework IOKit -framework CoreFoundation
)
+ set(
CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework IOKit -framework CoreFoundation"
)
include_directories(AFTER mac/libusb)
set(SOURCES ${SOURCES}
mac/libusb/darwin.c